// prettier-ignore
import {
  Platform,
  Dimensions,
} from 'react-native'

const StatusBarUtil = {}
export default StatusBarUtil

StatusBarUtil.getHeight = () => {
  if (Platform.OS === 'ios') {
    const window = Dimensions.get('window')
    const w = window.width
    const h = window.height
    if (w > 810 || h > 810) {
      // console.log('-StatusBarUtil.getHeight-- 44')
      return 44
    }
  }
  // console.log('-StatusBarUtil.getHeight-- 20')
  return 20
}
